import PageTools from '@/components/PageTools/PageTools.vue'
import UploadImg from '@/components/UploadImg/index.vue'
import Lang from '@/components/Lang'
import ScreenFull from '@/components/ScreenFull'
// 自定义插件
export default {
  // 形参obj是接受Vue的构造函数
  install(Vue) {
    // 插件中注册全局组件
    Vue.component('page-tools', PageTools)
    Vue.component('UploadImg', UploadImg)
    Vue.component('Lang', Lang)
    Vue.component('ScreenFull', ScreenFull)
  }
}
